package start.aai.mapper;

import org.apache.ibatis.annotations.Select;
import start.aai.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 27465
* @description 针对表【users】的数据库操作Mapper
* @createDate 2025-07-09 14:51:10
* @Entity start.aai.entity.Users
*/
public interface UsersMapper extends BaseMapper<Users> {

     @Select("select id,username from users where phone=#{phone} and password=#{password}")
     Users UserLogin(String phone, String password);
}




